﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class CardControl : UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    protected string GetColorStyle(object areaColor)
    {
        string color = areaColor as string;
        if (String.IsNullOrWhiteSpace(color))
            return string.Empty;
        else
            return "background-color: " + color + ";";
    }
}